package com.iflytek.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iflytek.common.annotation.Excel;
import com.iflytek.common.core.domain.BaseEntity;

/**
 * teacherExam对象 tb_exam_teacher
 * 
 * @author Dogdog
 * @date 2024-07-10
 */
public class ExamTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long examId;

    /** 教师id */
    @Excel(name = "教师id")
    private Long userId;

    /** uuid */
    @Excel(name = "uuid")
    private String code;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("examId", getExamId())
            .append("userId", getUserId())
            .append("code", getCode())
            .toString();
    }
}
